<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>SSO单点登录</title>
</head>
<body>
<h1>欢迎访问单点登录系统</h1>
<form action="login" method="post">
  <input type="text" name="username" placeholder="请输入用户名"/>
  <input type="password" name="password" placeholder="请输入密码"/>
  <input type="hidden" name="returnUrl" th:value="${returnUrl}">
  <input type="submit" value="提交登录"/>
</form>
<span style="color:red" th:text="${errorMsg}"></span>

</body>
</html>